<?php
/**
 * Created by PhpStorm.
 * User: 魏爷
 * Date: 2016/5/5
 * Time: 23:36
 */

namespace Home\Model;

class BookCaseModel extends BaseModel
{
    // 数据表名（不包含表前缀）
    protected $tableName        =   'bookcase';


    /**
     * 查询书架表的信息
     * @return array()
    **/
    public function getBookCaseTableInfo()
    {
        return $this->where("book_case_status=1")->order('book_case_id DESC')->select();
    }
}
